#!usr/bin/node

const PI = Math.PI;

module.exports = (radius) => {
  return {
    area: () => {
      return PI * radius * radius;
    },
    perimeter:() => {
      return PI * 2 * radius;
    } 
  }
}

